//
//  TKIMYYKitHelper.h
//  TKApp
//
//  Created by TryHone on 17/1/4.
//  Copyright © 2017年 liubao. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger, TKIMTextClickType) {
    TKIMTextClickType_Phone = 0,
    TKIMTextClickType_Url = 1
};


@protocol TKIMYYKitLableDelegate <NSObject>
/**
 *  @author Alan, 17-01-04 13:01:15
 *
 *  @brief 点击事件
 *
 *  @param linkData 点击数据
 *  @param type     点击类型
 */
- (void)clickedOnLink:(id)linkData clickType:(TKIMTextClickType)type;
@end


@interface TKIMYYKitHelper : NSObject
+(instancetype)shareInstance;
@property (nonatomic,weak)    id<TKIMYYKitLableDelegate> delegate;
//对字符串做显示过滤
-(NSMutableAttributedString *)processCommentContent:(NSString *)text style:(NSDictionary*)dict textColor:(UIColor *)textColor;
@end

